<% form_for(@entry) do |f| %>
  <%= f.error_messages %>

  <p>
    <% if current_user %>
      Posting as: 
      <%= text_field_tag :content_generator, current_user.username,
        :disabled => true %>
    <% else %>
      <%= f.label :content_generator, "Name: " %>
      <%= f.text_field :content_generator %>
    <% end %>
  </p>
  <p>
    <%= f.label(:title, "Title:") %>
    <%= f.text_field :title %>
  </p>
  <p>
    <%= f.label :sourcedir %>
    <%= f.text_field :sourcedir %>
  </p>
  <p>
    <%= f.label :description %><br />
    <%= f.text_area :description %>
  </p>
  <p>
    <%= f.submit "Continue" %> 
  </p>
<% end %>


